package com.tangula.web.kashine.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;



@Entity
@Table(name="t_studentProduct")
public class StudentProductEntity implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -582637876803097309L;
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid2")
	@Column(name="id")
	private String id;
	@Column(name="productId")
	private String productId;
	@Column(name="studentEmail")
	private String studentEmail;
	@Column(name="studentId")
	private String studentId;
	@Column(name="time")
	private String time;
	public StudentProductEntity() {
		super();

	}
	
	public StudentProductEntity(String id, String productId, String studentEmail, String studentId, String time) {
		super();
		this.id = id;
		this.productId = productId;
		this.studentEmail = studentEmail;
		this.studentId = studentId;
		this.time = time;
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getProductId() {
		return productId;
	}
	public void setProductId(String productId) {
		this.productId = productId;
	}
	public String getStudentEmail() {
		return studentEmail;
	}
	public void setStudentEmail(String studentEmail) {
		this.studentEmail = studentEmail;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}

	public String getStudentId() {
		return studentId;
	}

	public void setStudentId(String studentId) {
		this.studentId = studentId;
	}
	
	
}
